package com.qzct.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import java.io.Serializable;
import java.time.LocalDateTime;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *  实体类。
 *
 * @author 闽闽
 * @since 2025-01-11
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("")
@Table(value = "tb_cuisine_feedback")
public class CuisineFeedback implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 反馈表id
     */
    @Id(keyType = KeyType.Auto)
    @ApiModelProperty("反馈表id")
    private Integer id;

    /**
     * 用户di
     */
    @ApiModelProperty("用户di")
    private Integer userId;

    /**
     * 反馈内容
     */
    @ApiModelProperty("反馈内容")
    private String feedbackContent;

    /**
     * 反馈时间
     */
    @ApiModelProperty("反馈时间")
    @Column(onInsertValue = "now()")
    private LocalDateTime feedbackTime;

    /**
     * 美食id
     */
    @ApiModelProperty("美食id")
    private Integer cuisineId;

    /**
     * 是否解决
     */
    @ApiModelProperty("是否解决")
    @Column(isLogicDelete = true)
    private Boolean isDeleted;
    //   图片
    @ApiModelProperty("图片")
    private String url;
}
